reviewed by: Federico Mena Quintero
authorJosselin Mouette <joss@malsain.org>
Mon, 26 Nov 2007 23:16:19 +0000 (23:16 +0000)
committerJosselin Mouette <jmouette@src.gnome.org>
Mon, 26 Nov 2007 23:16:19 +0000 (23:16 +0000)
commit21a30978dcbe711d1e755703e332fcd4f32bfbc3
treea9896f5532dbdfee37af7e9f8ff723d4be4d816b
parentd4c95e7fb4b531385fcf68fd547375167864a8a1
reviewed by: Federico Mena Quintero

2007-11-26  Josselin Mouette <joss@malsain.org>

        reviewed by: Federico Mena Quintero

        * gtk/gtkfilechooserdefault.c: (shortcuts_append_paths),
        (shortcuts_add_bookmarks), (shortcuts_selection_changed_cb),
        (shortcuts_list_create), (gtk_file_chooser_default_should_respond):
        Make the shortcuts activate with a single click. (#148828)
        Fix a few things affected by the change:
          - Set selection mode to GTK_SELECTION_SINGLE to allow a case
            where no shortcut is selected.
          - Don't activate a shortcut in the response callback.
          - Filter out duplicate entries in volumes and bookmarks to
            avoid the selection to change when reordering them with DnD.

svn path=/trunk/; revision=19072
ChangeLog
gtk/gtkfilechooserdefault.c